﻿using System;
using System.Collections.Generic;
using Sinacor.Servico.Bovespa.Cliente;
using Sinacor.Infra.Common;

namespace Sinacor.Servico.Bovespa.Cliente.Service.ServiceImplementation.Translator
{
    /// <summary>
    /// Classe tradutora entre ValidarClienteBrokerRequestToParameter
    /// </summary>
    public partial class TranslateValidarClienteBrokerRequestToParameter : 
        BaseTranslator<BusinessEntity.Parameter.ConsultarClientePorCodigo, 
                       Service.DataContract.Request.ConsultarClientePorCodigoRequest,
                       List<BusinessEntity.Parameter.ConsultarClientePorCodigo>,
                       List<Service.DataContract.Request.ConsultarClientePorCodigoRequest>>
                        
    {
        public override BusinessEntity.Parameter.ConsultarClientePorCodigo Translate(
            Service.DataContract.Request.ConsultarClientePorCodigoRequest from)
        {
            BusinessEntity.Parameter.ConsultarClientePorCodigo to = new BusinessEntity.Parameter.ConsultarClientePorCodigo();
            to.CodigoCliente = from.CodigoCliente;
            return to;
        }
    }
}
